package org.a1.ectltool.entity;

public class Product
{
	private int productID;
	
	private String brand;
	private String machine;
	private String experience;
	private String type;
	private String kind;
	private String size;
	private String flavour;
	private String uPC;
	
	public Product(int productID, String brand, String machine, String experience, String type, String kind, String size, String flavour, String uPC)
	{
		this.productID = productID;
		this.brand = brand;
		this.machine = machine;
		this.experience = experience;
		this.type = type;
		this.kind = kind;
		this.size = size;
		this.flavour = flavour;
		this.uPC = uPC;
	}
	
	public Product(String brand, String machine, String experience, String type, String kind, String size, String flavour, String uPC)
	{
		this.brand = brand;
		this.machine = machine;
		this.experience = experience;
		this.type = type;
		this.kind = kind;
		this.size = size;
		this.flavour = flavour;
		this.uPC = uPC;
	}
	
	public int getProductID()
	{
		return productID;
	}
	
	public void setProductID(int productID)
	{
		this.productID = productID;
	}
	
	public String getBrand()
	{
		return brand;
	}
	
	public String getMachine()
	{
		return machine;
	}
	
	public String getExperience()
	{
		return experience;
	}
	
	public String getType()
	{
		return type;
	}
	
	public String getKind()
	{
		return kind;
	}
	
	public String getSize()
	{
		return size;
	}
	
	public String getFlavour()
	{
		return flavour;
	}
	
	public String getUPC()
	{
		return uPC;
	}
	
	public String toString()
	{
		String ret = "Product {\r\n";
		
		ret += "Brand: " + brand + "\r\n";
		ret += "Machine: " + machine + "\r\n";
		ret += "Experience: " + experience + "\r\n";
		ret += "Type: " + type + "\r\n";
		ret += "Kind: " + kind + "\r\n";
		ret += "Size: " + size + "\r\n";
		ret += "Flavour: " + flavour + "\r\n";
		ret += "UPC: " + uPC + "\r\n";
		
		ret += "}\\Product";
		
		return ret;
	}
}
